﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace comm.objst
{
    [Serializable]
    public class ItemInfo
    {
        private string _itemId = null;
        public string ItemId
        {
            get
            {
                if (_itemId == null)
                {
                    _itemId = "";
                }
                return _itemId;
            }
            set { _itemId = value; }
        }

        private string _dItemId = null;
        public string DItemId
        {
            get
            {
                if (_dItemId == null)
                {
                    _dItemId = "";
                }
                return _dItemId;
            }
            set { _dItemId = value; }
        }

        public ItemInfo()
        {
        }

        public ItemInfo(TableItem tableItem)
        {
            ItemId = tableItem.ItemId;
            DItemId = tableItem.DItemId;
        }
    }

    [Serializable]
    public class EquipInfo
    {
        public ItemEquipType EquipType { get; set; }
        public ItemInfo Item { get; set; }
    }
}
